extends Card

func init():
	att.cry = 1
	lv = 1
	type = TYPE.MAGIC
	camp = "m_hearthstone"
	name = "死亡缠绕"
	dec = "对一个随从造成 1点伤害。如果“死亡缠绕”消灭该随从，抽一张牌。"
	att.atk = 1

func _use(card,cell):
	if card != null :
		hurtCard(card,getMgiAtk())
		# 判断卡牌是否死亡
		if card.isDeath:
			self.getHero().drawCard()
		
func useSelIf(card,cell):
	if card != null && card.type == TYPE.CREATURE && card.canSel:
		return true
	return false